import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';

// Module
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
import {HttpClientModule} from '@angular/common/http';
import { IonicModule } from '@ionic/angular';

// Component

// UI & Plugin
import {AngularWebStorageModule} from 'angular-web-storage';

// Pipe
import {ByCutstrPipe} from './pipe/by-cutstr.pipe';
import {BySanitizerPipe} from './pipe/by-sanitizer.pipe';

// Service

@NgModule({
  imports: [
    IonicModule,
    CommonModule,
    FormsModule,
    RouterModule,
    ReactiveFormsModule,
    HttpClientModule,
    AngularWebStorageModule,
  ],
  declarations: [
    ByCutstrPipe,
    BySanitizerPipe
  ],
  exports: [
    // Module
    IonicModule,
    FormsModule,
    ReactiveFormsModule,
    RouterModule,
    HttpClientModule,

    // Plugins
    AngularWebStorageModule,

    // Component

    // Pipe
    ByCutstrPipe,
    BySanitizerPipe
  ],
  providers: []
})
export class ShareModule {
}
